package ysq.xyg.model.info;

import java.util.Date;

/**
 * 微信-账号信息
 */

public class WxAccountInfo {

    private String id;
    private String appid;
    private String appsecret;
    private String token;
    private String url;//微信对接地址
    private String accessToken;//accessToken值
    private Date accessTokenEndTime;// 凭证最后失效时间
    private String jsTicket;//jsTicket
    private Date jsTicketEndTime;// jsTicket凭证最后失效时间
    private int expiresIn;// 凭证有效时间，单位：秒
    private String baseURL;
    private String payKey;//微信支付-商户秘钥key
    private String payMchId;//微信支付-商户号
    private String agentid;//企业应用id
    private String xcxAppId;//小程序appid
    private String xcxAppSecret;//小程序secret
    private String xcxAccessToken;//小程序accessToken值
    private Date xcxAccessTokenEndTime;// 小程序凭证最后失效时间
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getBaseURL() {
        return baseURL;
    }

    public void setBaseURL(String baseURL) {
        this.baseURL = baseURL;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Date getAccessTokenEndTime() {
        return accessTokenEndTime;
    }

    public void setAccessTokenEndTime(Date accessTokenEndTime) {
        this.accessTokenEndTime = accessTokenEndTime;
    }

    public int getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn) {
        this.expiresIn = expiresIn;
    }

    public String getJsTicket() {
        return jsTicket;
    }

    public void setJsTicket(String jsTicket) {
        this.jsTicket = jsTicket;
    }

    public Date getJsTicketEndTime() {
        return jsTicketEndTime;
    }

    public void setJsTicketEndTime(Date jsTicketEndTime) {
        this.jsTicketEndTime = jsTicketEndTime;
    }

    public String getPayKey() {
        return payKey;
    }

    public void setPayKey(String payKey) {
        this.payKey = payKey;
    }

    public String getPayMchId() {
        return payMchId;
    }

    public void setPayMchId(String payMchId) {
        this.payMchId = payMchId;
    }

    public String getAgentid() {
        return agentid;
    }

    public void setAgentid(String agentid) {
        this.agentid = agentid;
    }

    public String getXcxAppId() {
        return xcxAppId;
    }

    public void setXcxAppId(String xcxAppId) {
        this.xcxAppId = xcxAppId;
    }

    public String getXcxAppSecret() {
        return xcxAppSecret;
    }

    public void setXcxAppSecret(String xcxAppSecret) {
        this.xcxAppSecret = xcxAppSecret;
    }

    public String getXcxAccessToken() {
        return xcxAccessToken;
    }

    public void setXcxAccessToken(String xcxAccessToken) {
        this.xcxAccessToken = xcxAccessToken;
    }

    public Date getXcxAccessTokenEndTime() {
        return xcxAccessTokenEndTime;
    }

    public void setXcxAccessTokenEndTime(Date xcxAccessTokenEndTime) {
        this.xcxAccessTokenEndTime = xcxAccessTokenEndTime;
    }
}
